package net.jsoft.platform.schedule.entity;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "t_schedule_log")
public class ScheduleLog implements java.io.Serializable
{

    /**
     * 
     */
    private static final long serialVersionUID = 1L;

    private long id;

    private String ip;

    private String port;

    private Date time;

    private int deal;

    private String jobName;

    public String getJobName()
    {
        return jobName;
    }

    public void setJobName(String jobName)
    {
        this.jobName = jobName;
    }

    public ScheduleLog()
    {
        super();
    }

    public ScheduleLog(String ip, String port, String jobName, Date time, int deal)
    {
        super();
        this.jobName = jobName;
        this.ip = ip;
        this.port = port;
        this.time = time;
        this.deal = deal;
    }

    @Id
    @GeneratedValue
    public long getId()
    {
        return id;
    }

    public void setId(long id)
    {
        this.id = id;
    }

    public String getIp()
    {
        return ip;
    }

    public void setIp(String ip)
    {
        this.ip = ip;
    }

    public String getPort()
    {
        return port;
    }

    public void setPort(String port)
    {
        this.port = port;
    }

    public Date getTime()
    {
        return time;
    }

    public void setTime(Date time)
    {
        this.time = time;
    }

    public int getDeal()
    {
        return deal;
    }

    public void setDeal(int deal)
    {
        this.deal = deal;
    }

}
